package com.tpc.client.modules.core.dashboard;

import com.smartgwt.client.data.DSRequest;
import com.smartgwt.client.data.DSResponse;
import com.tpc.client.systeme.core.datasource.GwtRpcDataSource;
import com.smartgwt.client.util.Page;
import com.smartgwt.client.widgets.HTMLPane;

public class DashboardDS extends GwtRpcDataSource {

    String strurl;

    public DashboardDS(String strID,HTMLPane chartTopParam,HTMLPane chartMiddleParam,HTMLPane chartBottomParam) {
            setID(strID);

            strurl = Page.getAppDir();
            strurl = strurl.substring(0,strurl.length()-1);
            strurl = strurl.substring(strurl.lastIndexOf("/"));
    }


    @Override
    protected void executeFetch (final String requestId, final DSRequest request, final DSResponse response) {
        //
    }

    @Override
    protected void executeAdd (final String requestId, final DSRequest request, final DSResponse response) {
        //
    }

    @Override
    protected void executeUpdate (final String requestId, final DSRequest request, final DSResponse response) {
        //
    }

    @Override
    protected void executeRemove (final String requestId, final DSRequest request, final DSResponse response) {
         //@TODO : fdsa
    }

    
}
